package com.hf.buildtb.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * BiEmployeeTeam entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "BI_EmployeeTeam", schema = "dbo", catalog = "BIDB")
public class BiEmployeeTeam implements java.io.Serializable {

	// Fields

	private String teamId;
	private String teamName;
	private Boolean isValid;
	private String memo;

	// Constructors

	/** default constructor */
	public BiEmployeeTeam() {
	}

	/** minimal constructor */
	public BiEmployeeTeam(String teamId, String teamName, Boolean isValid) {
		this.teamId = teamId;
		this.teamName = teamName;
		this.isValid = isValid;
	}

	/** full constructor */
	public BiEmployeeTeam(String teamId, String teamName, Boolean isValid,
			String memo) {
		this.teamId = teamId;
		this.teamName = teamName;
		this.isValid = isValid;
		this.memo = memo;
	}

	// Property accessors
	@Id
	@Column(name = "teamId", unique = true, nullable = false, length = 12)
	public String getTeamId() {
		return this.teamId;
	}

	public void setTeamId(String teamId) {
		this.teamId = teamId;
	}

	@Column(name = "teamName", nullable = false, length = 64)
	public String getTeamName() {
		return this.teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	@Column(name = "isValid", nullable = false)
	public Boolean getIsValid() {
		return this.isValid;
	}

	public void setIsValid(Boolean isValid) {
		this.isValid = isValid;
	}

	@Column(name = "memo", length = 24)
	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

}